import request from "@utils/request";

export function subUserRewardList(
    username,
    lid,
    startTime,
    endTime,
    page,
    limit
) {
    return request({
        url: "/api/member/xiaji_getUserGameList",
        method: "post",
        data: {username, lid, startTime, endTime, page, limit}
    })
}

export function subUserChangeList(startTime, endTime, username, page, limit) {
    return request({
        url: "/api/member/xiaji_moneylog",
        method: "get",
        params: {
            startTime, endTime, username, page, limit
            // username, page, limit
        }
    })
}

export function subUserList(username, page, limit) {
    return request({
        url: "/api/member/allmembers",
        method: "get",
        params: {
            username, page, limit
        }
    })
}

export function getReport(username, start_time, end_time) {
    return request({
        url: "/api/member/getTeam",
        method: "get",
        params: {
            username, start_time, end_time
        }
    })
}
